package xginxnsq

import (
	"gitee.com/xiaoyutab/xgotool/optional/xnsq"
	"gitee.com/xiaoyutab/xgotool/xgin"
	"github.com/gin-gonic/gin"
)

// 获取XNSQL队列列表信息及状态信息
//
//	GET	/status.list
func statusList(c *gin.Context) *xgin.Response {
	stat := xnsq.GetNsqStatus()
	return xgin.Resp().SuccessAny(stat)
}
